package com.genexususa.eo.facebook.util;

import java.io.IOException;
import java.util.HashMap;
import java.util.Properties;

/**
 * Created with IntelliJ IDEA.
 * User: Emiliano Martinez
 * Date: 1/8/2015
 * Time: 5:19 PM
 * To change this template use File | Settings | File Templates.
 */
public class Info {

    public static HashMap<String, String> getFacebookProperties() throws IOException {
        HashMap<String, String> prop = null;

        Properties properties = new Properties();
        properties.load(Info.class.getResourceAsStream(Constants.FACEBOOK_PROPERTIES));
        prop = new HashMap<String, String>();
        prop.put(Constants.ACCESS_TOKEN, properties.getProperty(Constants.ACCESS_TOKEN).trim());

        return prop;
    }
}
